$(function () {
    var html = null, 
    thisPage = null, 
    user = null;

    var paySuccess = function () {
        this.init();
    };

    paySuccess.prototype = {
      init: function () {
          this.initData();
          this.bindEvent();
      },
      initData: function () {
        
      },
      bindEvent: function () {
        //回退
        $("#back").on("tap", function () {
            back();
        });
        //查看订单
        $("#viewOrder").on("tap", function(){
          redirect("../order/detail.html");
        });
        //返回首页
        $("#return_indexpage").on("tap", function(){
          redirect("../home/index.html");
        });
      }
    };
    thisPage = new paySuccess();
});
